<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    {% load static %}
    <link rel="stylesheet" href="{% static 'bs/bs1.css' %}">
</head>
<body>
<form role="form" action="{% url 'test16' %}" method="post">
    {% csrf_token %}
    <div class="form-group">
{#        <label for="id_username">username</label>#}
        {{ form.username.label }}
        {{ form.username }}
    </div>

    <div class="form-group">
{#        <label for="id_password">password</label>#}
        {{ form.password.label }}
        {{ form.password }}
    </div>
    <div>
        <button type="submit" class="btn btn-warning mb-2">确认提交</button>
    </div>
</form>

</body>
</html>